package com.easy.cms.material.service;

import com.easy.cms.material.model.EnterpriseMaterialBinding;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface EnterpriseMaterialBindingService {
    EnterpriseMaterialBinding save(EnterpriseMaterialBinding binding);
    void deleteById(Long id);
    EnterpriseMaterialBinding update(EnterpriseMaterialBinding binding);
    EnterpriseMaterialBinding findById(Long id);
    Page<EnterpriseMaterialBinding> findByMaterialNameAndCustomCode(String materialName, String customCode, Pageable pageable);
}